package com.usian.api;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 对外提供的暴露接口
 * */
@Api(value = "敏感词管理",tags = "sensitive",description = "敏感词管理API")
public interface AdSensitiveControllerApi {

    @ApiOperation("敏感分页列表查询")
    public ResponseResult findByNameAndPage(SensitiveDto dto);
    @ApiOperation("添加")
    public ResponseResult insert(AdSensitive dto);
    @ApiOperation("修改")
    public ResponseResult update(AdSensitive dto);
    @ApiOperation("删除")
    public ResponseResult del(Integer id);
}
